#include <iostream>
#include <vector>
#include <map>


int main()
{
    std::vector<int> v = {1,2,3,4,5};
    for(auto value:v)
    {
        std::cout << value <<std::endl;
    }
    
    int a[10] = {1,2,3,4,5,6,7,8,9,10};
    for(auto & value:a)
    {
        value++;
        std::cout << value <<std::endl;
    }

    std::map<int, std::string> mp = 
    {
        {1,"zhangsan"},
        {2,"lisi"},
        {3,"wangwu"}
    };

    for(auto value:mp)
    {
        std::cout << value.first << " " << value.second << " ";
    }
    std::cout << std::endl;
    return 0;
}